package com.ssy.jt808.gateway.sdk.terminal.pojo.info.alarm;

import com.ssy.jt808.gateway.sdk.terminal.constant.location.LocationAlarmEnum;
import com.ssy.jt808.gateway.sdk.terminal.constant.location.addition.RouteDriveTimeResultEnum;
import lombok.Data;

/**
 * 0x13 路段行驶时间不足/过长报警附加信息
 *
 * @author wangzezhou
 */
@Data
public class RouteDriveTimeAlarmInfo extends LocationAlarmInfo{

  public RouteDriveTimeAlarmInfo(){
    super(LocationAlarmEnum.RouteDriveTimeAlarm);
  }

  /** 路径 ID */
  private Integer areaId;

  /** 路径行驶时长 */
  private Integer driveTime;

  /** 结果。0：不足；1：过长 */
  private RouteDriveTimeResultEnum result;
}
